
package com.projet.xh;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 产品BOM信息视图实体类
 *
 * @author BladeX
 * @since 2021-03-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class PrdBomVO extends PrdBom {
    private static final long serialVersionUID = 1L;

    /**
     * 物料名称
     */
    private String materialName;

    /**
     * 内部图号
     */
    private String innerDrawingNo;
    /**
     * 外部图号
     */
    private String productDrawingNo;

    /**
     * 规格
     */
    private String specifications;

    /**
     * 型号
     */
    private String model;

    /**
     * 计量单位编码
     */
    private String unit;

    /**
     * 产品工序名称
     */
    private String prdProcedureName;

    /**
     * 下级BOM列表
     */
    private List<PrdBomVO> childPrdBomList;

    /**
     * 下级BOM列表（树形展示用）
     */
    private List<PrdBomVO> children;


    private Integer sources;

    private String designLossRate;

    private String designQuota;

    private String productId;

    private Integer isFirst;
    //@ApiModelProperty(value = "产品类型")
    private String productType;
    //@ApiModelProperty(value = "产品标识")
    private String productFlag;
    //@ApiModelProperty(value = "物料id")
    private String materialId;

    //@ApiModelProperty(value = "物料组名称")
    private String materialGroupName;
    //@ApiModelProperty(value = "物料组编码")
    private String materialGroupNo;
    private List<String> materialTypes;
    //@ApiModelProperty(value = "标箱数量")
    private String boxCounts;

    private List<Long> ids;

    //@ApiModelProperty(value = "产品标识")
    private String materialFlag;
    //@ApiModelProperty(value = "产品标识")
    private String materialType;
    //@ApiModelProperty(value = "创建人")
    private String createUserName;
    //@ApiModelProperty(value = "树结构深度")
    private Integer depth;

    //@ApiModelProperty(value = "必须是根")
    private String mustTop;

    //@ApiModelProperty(value = "必须是根")
    private String topProductNo;

    //@ApiModelProperty(value = "BOM层级")
    private String bomLevel;
}
